.line {
	width: 100%;
	height: 1px;
	background-color: #ebebeb;
	/* border-top: 5px solid #fff;
    border-bottom: 5px solid #fff; */
}
.ui-header {
	height: 45px;
	line-height: 45px;
	position: fixed;
	width: 100%;
	z-index: 100;
	left: 0;
	background-color: #fff;
}

.ui-header .ui-icon-back {
	position: absolute;
	background: url(../../static/image/img/back.png) no-repeat;
	background-size: 100% 100%;
	left: 3px;
	top: 10px;
	width: 24px;
	height: 24px;
}

.ui-header .title {
	font-size: 18px;
}

.ui-footer {
	/* height: 120px; */
	width: 100%;
	background-color: #fff;
	position: fixed;
	bottom: 0px;
	z-index: 100;
}

.ui-footer.h-50 {
}

.ui-footer .main {
	position: relative;
	min-height: 50px;
	text-align: left;
	padding: 10px;
	display: flex;
	align-items: center;
}

.ui-footer .main .ui-icon-add {
	display: inline-block;
	background: url(../../static/image/img/im_add@2x.png) no-repeat;
	background-size: 100% 100%;
	position: relative;
	/*!* right: 5px; *!*/
	width: 31px;
	height: 31px;
}

.ui-footer .main .input-message {
	/* width: 60%; */
	width: calc(100% - 126px);
}

.ui-footer .main .write_box {
	border-radius: 4px;
	z-index: 140;
	position: relative;
	display: inline-block;
	background-color: transparent;
	margin: 0 10%;
	width: calc(100% - 126px);
	padding: 10px;
	min-height: 40px;
	max-height: 120px;
	overflow: auto;
	/*line-height: 50px;*/
	/* top: 7px; */
}

.ui-footer .main .write_box_safari {
	top: -7px;
}

.ui-footer .main .write_box .body {
	outline: none;
	overflow: auto;
	/* line-height: 25px; */
	/* padding: 0 10px; */
	font-size: 13px;
}

.ui-footer .main .ui-icon-emotion {
	display: inline-block;
	background: url(../../static/image/img/emotion@2x.png) no-repeat;
	background-size: 100% 100%;
	position: relative;
	/* right: 5px; */
	top: 9px;
	left: 1px;
	width: 26px;
	height: 26px;
}

.ui-footer .main .ui-button-phrase {
	margin-left: 10px;
	width: 52px;
	height: 26px;
	border-radius: 3px;
	display: inline-block;
	background-color: #e7e7e7;
	text-align: center;
	line-height: 26px;
	font-size: 10px;
	color: #333333;
	position: relative;
}

.ui-footer .main .ui-button-send {
	margin-left: 10px;
	width: 52px;
	height: 26px;
	border-radius: 3px;
	border: 1px solid rgba(0, 194, 255, 1);
	line-height: 26px;
	text-align: center;
	display: inline-block;
	font-size: 10px;
	color: #00c2ff;
	position: relative;
}

.ui-footer .tool {
	margin-top: 10px;
}
.ui-footer .tool div {
	float: left;
	margin-left: 5%;
}
.ui-footer .tool div i {
	width: 26px;
	height: 22px;
	display: inline-block;
}
.ui-footer .tool .ui-icon-takepicture {
	background: url(../../static/image/img/takepicture@2x.png) no-repeat;
	background-size: 100%;
}
.ui-footer .tool .ui-icon-sendpicture {
	background: url(../../static/image/img/sendpicture@2x.png) no-repeat;
	background-size: 100%;
}
.ui-footer .tool .ui-icon-sendfile {
	background: url(../../static/image/img/sendfile@2x.png) no-repeat;
	background-size: 100%;
}

.ui-container {
	/* min-height: 720px; */
	padding: 10px 0 80px 0;
	overflow-y: auto;
	background-color: #f4f4f4;
	border-top: 45px solid transparent;
	/* border-bottom: 50px solid transparent; */
}
.ui-container ul {
	margin-top: 10px;
}
.ui-container li {
	margin-top: 10px;
}
.ui-container .chat-message .time {
	padding: 10px 0;
	color: #333333;
	font-size: 12px;
}
.ui-container .chat-message .an-move-left .main {
	padding: 10px;
	text-align: left;
	margin-top: 5px;
}
.ui-container .chat-message .an-move-left .user-image {
	background: url(../../static/image/img/service.png) no-repeat;
	background-size: 100% 100%;
	display: block;
	float: left;
	width: 46px;
	height: 46px;
	/* border-radius: 50%; */
}
.ui-container .chat-message .an-move-left .text {
	display: inline-block;
	padding: 0 10px;
	/* max-width: calc(100% - 75px); */
	min-height: 35px;
	line-height: 2.1;
	font-size: 12px;
	padding: 6px 10px;
	text-align: left;
	word-break: break-all;
	background-color: #fff;
	color: #333;
	border-radius: 0 7px 7px 7px;
	box-shadow: 0px 1px 7px -5px #000;
	margin-left: 10px;
}
.ui-container .chat-message .an-move-right .main {
	text-align: right;
	margin-top: 5px;
	padding: 10px;
}
.ui-container .chat-message .an-move-right .user-image {
	background: url(../../static/image/img/customer.png) no-repeat;
	background-size: 100% 100%;
	display: block;
	float: right;
	width: 46px;
	height: 46px;
	/* border-radius: 50%; */
}
.ui-container .chat-message .an-move-right .text {
	display: inline-block;
	padding: 0 10px;
	/* max-width: calc(100% - 75px); */
	min-height: 35px;
	line-height: 2.1;
	font-size: 12px;
	padding: 6px 10px;
	text-align: left;
	word-break: break-all;
	background-color: #9eea6a;
	color: #333;
	border-radius: 7px 0 7px 7px;
	box-shadow: 0px 1px 7px -5px #000;
	margin-right: 10px;
}

/****************/
.window-shadow {
	z-index: 135;
	background-color: #000;
	opacity: 0.5;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 1px;
}
.window-img {
	z-index: 136;
	position: absolute;
	text-align: right;
	width: 70%;
	top: 15%;
	left: 15%;
}
.window-img img {
	width: 100%;
}
.window-img .close {
	width: 20px;
	position: relative;
	left: 12px;
	top: 16px;
}
/***************************/

/***************************/
.ui-footer .tools {
	/* background-color: #f5f5f5; */
	/* border-bottom: 1px solid #d4d4d4; */
	/* padding: 5px;
    margin-left: 10px; */
	/* box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); */
	/* position: absolute;
    top: -30px;
    height: 31px; */
	line-height: 0;
	display: inline-block;
}
.ui-footer .tools div {
	display: inline-block;
	width: 24px;
	height: 24px;
}
.ui-footer .tools .emotion {
	top: 0px;
	position: relative;
	background: url(../image/editor/emotion.png);
}

.ui-footer .tools .emotion .nav li img {
	border: 1px solid rgba(0, 0, 0, 0);
	display: inline-block;
}
.ui-footer .tools .emotion .nav li img:hover {
	border: 1px solid gray;
}
/*******************************/
